@extends('admin.layout.basic')
@section('content')
        <!-- 面包屑 -->
@include('admin.layout.breadcrumb')
<div class="wrapper wrapper-content animated fadeInUp">


    <div class="row">



      <div class="col-lg-3">
        <div class="ibox ">
          <div class="ibox-title">
              {{trans("admin/message.files_list")}}
          </div>
          <div class="ibox-content">

            <ul  id="file_ul_list" class="folder-list file_ul_list" style="padding: 0">
              @if(isset($files))
                  @foreach($files as $file)
                     <li><a href="javascript:void(0);" onclick="FeManger.chosefile(this,'{{$file->getRelativePathname()}}')"><i class="fa fa-file"></i> {{$file->getRelativePathname()}}</a></li>
                  @endforeach

              @endif

            </ul>


          </div>
        </div>
      </div>


        <div class="col-lg-9">
          <div class="ibox">
            <div class="ibox-title">
              <h5>内容编辑</h5>
            </div>
            <div id="fileeditcontent" class="ibox-content">
                <input type="hidden" id="code_path">
                  <textarea id="code" rows="5">
                </textarea>
                </div>



            <div class="col-lg-12 ibox-content  text-center">

              <button type="button" onclick="FeManger.saveSubmit()" class="btn btn-w-m btn-success">{{ trans('admin/message.submit') }}</button>
{{--              <button   type="button" style="display: {{isset($content)? "inline":"none"}}"   onclick="admin_fileedit_list.delete('{{isset($content)?  $content->id:""}}')"class="btn btn-w-m btn-danger">{{ trans('admin/message.delete') }}</button>--}}
            </div>

          </div>
        </div>

    </div>
</div>

@endsection


